package com.zzxy.spring12.po;

import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.util.Set;

@Component

public class Student {
    private String name;
    private String no;
    private Integer age;

    private Address address;

    /*list set array map properties*/
    private Set<String> cars;
    private Map<String, String> infos;
    private Properties properties;
    private String[] members;

    public void setInfos(Map<String, String>getinfos) {
        this.infos= infos;
    }

    public Set<String> getCars() {
        return cars;
    }

    public void setCars(Set<String> cars) {
        this.cars = cars;
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name +'\'' +
                ", no='" + no +'\'' +
                ", age=" + age +
                "address=" + address +
                ", cars=" + cars +
                ", infos=" + infos +
                ", properties=" + properties +
                ", members=" + members +
                '}';
    }

    public Properties getProperties() {
        return properties;
    }

    public Address getAddress() {
        return address;
    }
    public void setAddress(Address address) {
        this.address = address;
    }

    public Student() {

    }

    public Student(String name, String no) {
        this.name = name;
        this.no = no;
    }

    public Student(String name, Integer age) {
        this.name = name;
        this.age = age;
    }




    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getNo() {
        return no;
    }
    public void setNo(String no) {
        this.no = no;
    }
    public Integer getAge() {
        return age;
    }
    public void setAge(Integer age) {
        this.age = age;
    }

    public void setProperties(String properties) {
    }


    public void setMembers(String members) {
    }
}
